#! /bin/bash
source /opt/ros/noetic/setup.bash
source ~/catkin_ws/devel/setup.bash

sleep 8s


#cd ~/bagfiles&&rosbag record -a
cd /media/ubuntu/rosbag&&sudo mkdir bagfiles

cd bagfiles&&rosbag record -a

